package com.jike.shop.cloud.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class PaymentChannel{

    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableLogic(value = "0", delval = "1")
    private Boolean deleted;

    /**
     * 支付方式编号
     */
    private String code;

    /**
     * 支付方式名称
     */
    private String name;

    /**
     * 商户支付费率
     */
    private Double rate;

    private String appId;

    private String publicKey;

    private String privateKey;

    private Integer sort;
}
